<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  mounted: function () {
    let html = document.getElementsByTagName('html')[0]
    let autow = document.body.clientWidth || document.documentElement.clientWidth
    html.style.fontSize = autow / 750 * 100 + 'px'
    console.log('rem:', html.style.fontSize)
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: 0;
  width: 100%;
  height: 100vh;
}
a.img-inner-box{
  border-radius: 0.2rem !important;
  background: #fff;
  overflow: hidden;
}
@font-face {
  font-family: 'iconfont';  /* project id 1997153 */
  src: url('//at.alicdn.com/t/font_1997153_4uq6cboahur.eot');
  src: url('//at.alicdn.com/t/font_1997153_4uq6cboahur.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_1997153_4uq6cboahur.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_1997153_4uq6cboahur.woff') format('woff'),
  url('//at.alicdn.com/t/font_1997153_4uq6cboahur.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_1997153_4uq6cboahur.svg#iconfont') format('svg');
}

</style>
